package com.manbu.live.farmework.redis.starter.keys;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * @author hanWang
 * @Title:
 * @Package
 * @Description:
 * @date 2024/1/2211:28 下午
 */
//@Configurable
@Configuration
@Conditional(RedisKeyLoadMatch.class)
public class MsgProviderCacheKeyBuilder extends RedisKeyBuilder{
    private static String MSG_LOGIN_CODE_KEY = "msgLoginCode";

    public String buildMsgLoginCodeKey(String userId) {
        return super.getPrefix() + MSG_LOGIN_CODE_KEY +
                super.getSplitItem() + userId;
    }


}
